﻿using BUGCOME.Model.Auth;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUGCOME.Service.Auth.IServices
{
    /// <summary>
    /// 用户团队服务接口，定义用户团队信息管理的核心操作
    /// </summary>
    public interface IUserTeamService : IBaseService<UserTeam>
    {
        /// <summary>
        /// 异步添加用户团队信息
        /// </summary>
        /// <param name="userTeam">待添加的用户团队信息实体</param>
        /// <returns>
        /// 返回添加成功的 <see cref="UserTeam"/> 实体对象
        /// </returns>
        /// <remarks>
        /// 用于注册或补充用户团队资料，需保证 UserId 唯一性。
        /// </remarks>
        Task<UserTeam> AddUserTeamAsync(UserTeam userTeam);
    }
}
